package com.ng.sys.model.response;

import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class UserProfileResponse {

	@Schema(description = "用户Id")
	@NonNull
	private String id;

	@Schema(description = "账号")
	@NonNull
	private String username;
	
	@Schema(description = "姓名")
	@NonNull
	private String name;
	
	@Schema(description = "头像")
	@NonNull
	private String avatar;
	
	@Schema(description = "性别")
	@NonNull
	private String gender;
	
	@Schema(description = "手机号")
	@NonNull
	private String mobile;
	
	@Schema(description = "邮箱")
	@NonNull
	private String email;
	
	@Schema(description = "身份证号码")
	@NonNull
	private String certificatenum;
	
	@Schema(description = "部门名称")
	@NonNull
	private String deptName;
	
	@Schema(description = "角色名称")
	@NonNull
	private String roleNames;
	
	@Schema(description = "创建时间")
	@NonNull
	private String createTime;
	
}
